name: pipeline

---
name: a

num_nodes: 2

setup: |
  echo setup for train

run: |
  echo train starts
  echo train ends

---
name: b

setup: |
  exit 1

run: |
  echo train starts
  sleep 20
  echo train ends

---

name: eval1

setup: |
  echo setup for eval
  sleep 20

run: |
  echo eval starts
  sleep 20
  echo eval ends

---

name: eval2

setup: |
  echo setup for eval
  sleep 20

run: |
  echo eval starts
  sleep 20
  echo eval ends
